package com.icetech.eom.service.impl.tx;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.icetech.eom.dao.tx.VersionDao;
import com.icetech.eom.domain.tx.Version;
import com.icetech.eom.service.tx.IVersionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author wangzw
 * @since 2018-11-12
 */
@Service
public class VersionServiceImpl extends ServiceImpl<VersionDao, Version> implements IVersionService {
    @Autowired
    private VersionDao versionDao;
    @Override
    public Version selectLastVersion() {
        return versionDao.selectLastVersion();
    }
}
